package com.itheima.mapper.store;


import com.itheima.domain.store.Question;

import java.util.List;

//Question持久层
public interface QuestionMapper {
    //遍历
    List<Question> findAll();
    //新增
    void save(Question question);
    //根据ID数组删除
    void deleteByIds(String[] idArray);
    //根据Id查找
    Question findById(String id);
    //更新对象数据
    void update(Question question);
}
